.class Lcom/esfile/screen/recorder/videos/edit/ui/b$a;
.super Landroid/os/Handler;
.source "SnippetSeekBar.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/esfile/screen/recorder/videos/edit/ui/b;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/esfile/screen/recorder/videos/edit/ui/b;


# direct methods
.method constructor <init>(Lcom/esfile/screen/recorder/videos/edit/ui/b;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 8

    .line 1
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Landroid/os/Handler;

    move-result-object p1

    const/16 v0, 0x44

    invoke-virtual {p1, v0}, Landroid/os/Handler;->removeMessages(I)V

    .line 2
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    move-result-object p1

    if-nez p1, :cond_0

    return-void

    .line 3
    :cond_0
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->c(Lcom/esfile/screen/recorder/videos/edit/ui/b;)F

    move-result p1

    .line 4
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-virtual {v1}, Landroid/view/View;->getWidth()I

    move-result v1

    div-int/lit8 v1, v1, 0x4

    int-to-float v1, v1

    const/high16 v2, 0x42c80000    # 100.0f

    const/high16 v3, 0x40000000    # 2.0f

    const/4 v4, 0x0

    const/4 v5, 0x1

    const/4 v6, 0x0

    const/high16 v7, 0x40a00000    # 5.0f

    cmpg-float v1, p1, v1

    if-gez v1, :cond_2

    .line 5
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d(Lcom/esfile/screen/recorder/videos/edit/ui/b;)F

    move-result v1

    sub-float/2addr v1, v3

    cmpg-float v1, p1, v1

    if-gez v1, :cond_1

    const/4 v6, 0x1

    goto :goto_0

    .line 6
    :cond_1
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d(Lcom/esfile/screen/recorder/videos/edit/ui/b;)F

    move-result v1

    add-float/2addr v1, v7

    cmpl-float v1, p1, v1

    :goto_0
    if-eqz v6, :cond_4

    .line 7
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-virtual {v1}, Landroid/view/View;->getWidth()I

    move-result v1

    div-int/lit8 v1, v1, 0x4

    int-to-float v1, v1

    sub-float/2addr p1, v1

    mul-float p1, p1, v2

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-virtual {v1}, Landroid/view/View;->getWidth()I

    move-result v1

    int-to-float v1, v1

    div-float/2addr p1, v1

    sub-float v4, p1, v7

    goto :goto_2

    .line 8
    :cond_2
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-virtual {v1}, Landroid/view/View;->getWidth()I

    move-result v1

    mul-int/lit8 v1, v1, 0x3

    div-int/lit8 v1, v1, 0x4

    int-to-float v1, v1

    cmpl-float v1, p1, v1

    if-lez v1, :cond_4

    .line 9
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d(Lcom/esfile/screen/recorder/videos/edit/ui/b;)F

    move-result v1

    add-float/2addr v1, v3

    cmpl-float v1, p1, v1

    if-lez v1, :cond_3

    const/4 v6, 0x1

    goto :goto_1

    .line 10
    :cond_3
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d(Lcom/esfile/screen/recorder/videos/edit/ui/b;)F

    move-result v1

    sub-float/2addr v1, v7

    cmpg-float v1, p1, v1

    :goto_1
    if-eqz v6, :cond_4

    .line 11
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-virtual {v1}, Landroid/view/View;->getWidth()I

    move-result v1

    mul-int/lit8 v1, v1, 0x3

    div-int/lit8 v1, v1, 0x4

    int-to-float v1, v1

    sub-float/2addr p1, v1

    mul-float p1, p1, v2

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-virtual {v1}, Landroid/view/View;->getWidth()I

    move-result v1

    int-to-float v1, v1

    div-float/2addr p1, v1

    add-float v4, p1, v7

    .line 12
    :cond_4
    :goto_2
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e(Lcom/esfile/screen/recorder/videos/edit/ui/b;)I

    move-result p1

    if-ne p1, v5, :cond_6

    .line 13
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    move-result-object p1

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->c(Lcom/esfile/screen/recorder/videos/edit/ui/b;)F

    move-result v2

    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {v3}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->f(Lcom/esfile/screen/recorder/videos/edit/ui/b;)I

    move-result v3

    int-to-float v3, v3

    add-float/2addr v2, v3

    invoke-static {v1, v2}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b(Lcom/esfile/screen/recorder/videos/edit/ui/b;F)J

    move-result-wide v1

    iput-wide v1, p1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->b:J

    .line 14
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->g(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Lcom/esfile/screen/recorder/videos/edit/ui/b$d;

    move-result-object p1

    if-eqz p1, :cond_5

    .line 15
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->g(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Lcom/esfile/screen/recorder/videos/edit/ui/b$d;

    move-result-object p1

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    move-result-object v1

    invoke-virtual {p1, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b$d;->a(Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)V

    .line 16
    :cond_5
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    move-result-object p1

    invoke-virtual {p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->a()V

    .line 17
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->h(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Lcom/esfile/screen/recorder/videos/edit/ui/b$f;

    move-result-object p1

    if-eqz p1, :cond_8

    .line 18
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->h(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Lcom/esfile/screen/recorder/videos/edit/ui/b$f;

    move-result-object p1

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e(Lcom/esfile/screen/recorder/videos/edit/ui/b;)I

    move-result v1

    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {v2}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    move-result-object v2

    iget-wide v2, v2, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->b:J

    invoke-interface {p1, v1, v2, v3}, Lcom/esfile/screen/recorder/videos/edit/ui/b$f;->a(IJ)V

    goto :goto_3

    .line 19
    :cond_6
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e(Lcom/esfile/screen/recorder/videos/edit/ui/b;)I

    move-result p1

    const/4 v1, 0x2

    if-ne p1, v1, :cond_8

    .line 20
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    move-result-object p1

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->c(Lcom/esfile/screen/recorder/videos/edit/ui/b;)F

    move-result v2

    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {v3}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->f(Lcom/esfile/screen/recorder/videos/edit/ui/b;)I

    move-result v3

    int-to-float v3, v3

    add-float/2addr v2, v3

    invoke-static {v1, v2}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b(Lcom/esfile/screen/recorder/videos/edit/ui/b;F)J

    move-result-wide v1

    iput-wide v1, p1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->c:J

    .line 21
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->g(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Lcom/esfile/screen/recorder/videos/edit/ui/b$d;

    move-result-object p1

    if-eqz p1, :cond_7

    .line 22
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->g(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Lcom/esfile/screen/recorder/videos/edit/ui/b$d;

    move-result-object p1

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    move-result-object v1

    invoke-virtual {p1, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b$d;->a(Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)V

    .line 23
    :cond_7
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    move-result-object p1

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->i(Lcom/esfile/screen/recorder/videos/edit/ui/b;)J

    move-result-wide v1

    invoke-virtual {p1, v1, v2}, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->a(J)V

    .line 24
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->h(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Lcom/esfile/screen/recorder/videos/edit/ui/b$f;

    move-result-object p1

    if-eqz p1, :cond_8

    .line 25
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->h(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Lcom/esfile/screen/recorder/videos/edit/ui/b$f;

    move-result-object p1

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e(Lcom/esfile/screen/recorder/videos/edit/ui/b;)I

    move-result v1

    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {v2}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    move-result-object v2

    iget-wide v2, v2, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->c:J

    invoke-interface {p1, v1, v2, v3}, Lcom/esfile/screen/recorder/videos/edit/ui/b$f;->a(IJ)V

    .line 26
    :cond_8
    :goto_3
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {p1, v4}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a(Lcom/esfile/screen/recorder/videos/edit/ui/b;F)V

    .line 27
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-virtual {p1}, Landroid/view/View;->invalidate()V

    .line 28
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;->a:Lcom/esfile/screen/recorder/videos/edit/ui/b;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Landroid/os/Handler;

    move-result-object p1

    invoke-virtual {p1, v0}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    return-void
.end method
